package com.jlastu.znb.contract;

import com.jlastu.znb.entity.Goods;

import java.util.List;

public interface MainContract {
    interface IMainPresenter {
        void getGoodsList();

        void getGoodsByCategory(String category); // 接收分类名称作为参数
    }

    interface IMainView {
        void showGoodsList(List<Goods> goodsList);
        void showGoodsByCategory(List<Goods> goodsList);
    }

}
